package com.smtx.service;

import javax.naming.OperationNotSupportedException;
import java.io.IOException;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Cyril
 * Date: 15.04.11
 * Time: 2:58
 * To change this template use File | Settings | File Templates.
 */
public interface Node {
    String PATH_SEP = "/";

    String getReference();
    String getPath();
    String getName();
    Boolean isExists();
    List<Node> listChildren();
    Node getParentNode() throws IOException;

    void create() throws OperationNotSupportedException, IOException;
    void remove() throws OperationNotSupportedException;
    void clean();
}
